package com.yuanchu.media.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanchu.common.utils.PageUtils;
import com.yuanchu.media.dto.EditFileGroupParamsDto;
import com.yuanchu.media.dto.MoveGroupDto;
import com.yuanchu.media.entity.YoshopUploadGroupEntity;

import java.util.List;
import java.util.Map;

/**
 * 文件库分组记录表
 *
 * @author adan
 * @email 2028038953@gmail.com
 * @date 2023-12-19 20:57:21
 */
public interface YoshopUploadGroupService extends IService<YoshopUploadGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 查询分组列表
     * @return
     */
    List<YoshopUploadGroupEntity> queryGroupList();

    /**
     * 添加分组
     * @param form
     */
    void addGroup(EditFileGroupParamsDto param);

    void editGroup(EditFileGroupParamsDto form);

    /**
     * 移动分组
     * @param params
     */
    void moveGroup(MoveGroupDto params);
}

